//
//  FirstCollectionViewCell.m
//  eNew
//
//  Created by lanou3g on 15-4-29.
//  Copyright (c) 2015年 蓝鸥科技. All rights reserved.
//

#import "FirstCollectionViewCell.h"

@implementation FirstCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.backgroundColor = [UIColor redColor];
        [self addAllViews];
    }
    return self;
}


#pragma mark - 添加全部控制器
- (void)addAllViews
{
    self.imageView = [[[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 166, 133)] autorelease];
    [self addSubview:_imageView];
    
    self.label = [[[UILabel alloc] initWithFrame:CGRectMake(40, 30, 87, 80)] autorelease];
    [self addSubview:_label];
    
}

- (void)dealloc
{
    [_label release];
    [_imageView release];
    [super dealloc];
}
@end
